package org.jugile.util;

/*

Copyright (C) 2007-2011 Jukka Rahkonen  email: jukka.rahkonen@iki.fi

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

*/


/**
 * "After this I beheld, and, lo, a great multitude, which no man could number, 
 *  of all nations, and kindreds, and people, and tongues, stood before the throne, 
 *  and before the Lamb, clothed with white robes, and palms in their hands;
 *  And cried with a loud voice, saying, Salvation to our God which sitteth 
 *  upon the throne, and unto the Lamb. And all the angels stood round about the throne, 
 *  and about the elders and the four beasts, and fell before the throne on their faces, 
 *  and worshipped God," (Rev 7:9-11)
 * 
 * ==========
 * 
 * Interface for any business domain.
 * @author jukka.rahkonen@iki.fi
 */
public interface IDomain {

	public void startTx();
	public void commit();
	public void rollback();
	public void close();
	
	public void setReadTx();
	public void setWriteTx();
}
